register.php
<form method="POST" action="<?=$package->url('/register/');?>">
<fieldset>
<legend>
Register
</legend>
<label for="email">Email:</label><br>
<input type="email" name="email" required>
<br><br>
<label for="email_confirm">Confirm Email:</label><br>
<input type="email" name="email_confirm" autocomplete="off" required>
<br><br>
<?=$lia->view('user/PasswordRequirements')?>
<br>
<label for="password">Password:</label><br>
<input type="password" name="password">
<br><br>
<label for="password_confirm">Confirm Password:</label><br>
<input type="password" name="password_confirm" autocomplete="off">
</fieldset>
<br>
<label>
By registering you agree to the <a href="<?=$package->url('/terms/')?>">Terms & Conditions</a>. This includes logging of your email, IP Address, and User Agent for security purposes, even if registration is unsuccessful.<br>
<input type="checkbox" name="agreed_to_terms" required>
I agree to terms & conditions & security logging<br>
</label>
<br><br>
<input type="submit" value="Create Account">
<?=$lib->get_csrf_session_input('register')?>
<?=$lia->view('user/form/honey');?>
<br>
</form>
<?=$lia->view('user/Links',['links'=>['login','reset.password','help']]);?>